<?php

namespace app\model\zs;

use think\Model;

class ZsMealDetailsStore extends Model
{
    // 设置当前模型对应的完整数据表名称
    protected $table = 'meal_details_store';

    // 设置当前模型的数据库连接
    protected $connection = 'zs';

    public function businessPrize()
    {
        return $this->belongsTo(ZsBusinessPrize::class, 'order_on', 'order_on');
    }
}
